package com.zzxy.spring35.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class StudentController {

    @Autowired
    private IStudentService studentService;

//    public IUserService getStudentService() {
//        return studentService;
//    }
//
//    public void setStudentService(IUserService studentService) {
//        this.studentService = studentService;
//    }

    public void addStudent(String username,String password) {
        studentService.addStudent(username,password);
    }
}
